import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 移动端适配
import 'amfe-flexible'
import './plugins/vant'
import '@/styles/global.css'

import directiveObj from '@/utils/derective'

Vue.config.productionTip = false

// 自定义全局指令
// Vue.directive('focus', {
//   inserted (el) {
//     el.querySelector('input').focus()
//   }
// })

Vue.use(directiveObj)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
